//package com.sfl.api_backend.utils.mybatisplus;
//
//import com.baomidou.mybatisplus.generator.FastAutoGenerator;
//import com.baomidou.mybatisplus.generator.engine.FreemarkerTemplateEngine;
//
///**
// * @Author szc
// * @create 2023/1/27 18:22
// */
//public class FastAutoGeneratorTest {
//    private static final String URL = "jdbc:mysql://101.33.218.101:3306/sfl?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8";
//    private static final String NAME = "root";
//    private static final String PWD = "CPG@2023";
//    public static void main(String[] args) {
//        FastAutoGenerator.create(URL, NAME, PWD)
//                .globalConfig(builder -> {
//                    builder.author("szc")
//                            .outputDir("D:\\dev\\gen_test");
//                })
//                .packageConfig(
//                        builder -> builder.parent("com.sfl.api_backend")
//                )
//                .strategyConfig(builder -> {
//                    builder.addInclude("quota")
//                            .addInclude("consumption")
//                            .addInclude("recharge")
//                            .entityBuilder()
//                            .enableLombok();
//                })
//                .execute();
//    }
//}
